package cn.com.dhcc.app.pub.core.util.fusioncharts;

import java.util.List;

public class Chart {
	private String caption;// 标题
	private String subCaption;// 子标题
	private String palette;// 1-5(5种默认的调色板风格任你选)
	private String xAxisName;// x轴名称
	private String yAxisName;// y名称
	private String showValues;// 在图中是否显示数值
	private String useRoundEdges;// '0/1'(是否显示光滑边缘)
	private String bgColor;// 图表背景颜色
	private String numberPrefix;// 数值前缀
	private String numberSuffix;// 数值后缀
	private String decimals;// '0-10'(小数点后保留几位)
	private String formatNumberScale;// 是否格式化数字
										// 是否格式化数字,默认为1(True),自动的给你的数字加上K（千）或M（百万）；若取0,则不加K或M
	private String baseFont;// 字体
	private String baseFontSize;// '0-72'(字体大小)
	private String baseFontColor;// 字体颜色(十六进制)
	private String showBorder;// 显示边框(0/1)
	private String extProperty;//扩展属性，属性过多，只声明常用属性，其它属性设置由字符串拼接完成
	private Categories categories;
	private List<ChartDataset> dataset;
	private List<ChartSet> set;

	public Chart() {
		super();
		this.showValues = "1";// 在图中列表显示统计数值
		this.formatNumberScale = "0";// 统计数值 非格式化
		this.useRoundEdges = "1";// 显示光滑边缘
	}

	public String getCaption() {
		return caption;
	}

	public void setCaption(String caption) {
		this.caption = caption;
	}

	public String getSubCaption() {
		return subCaption;
	}

	public void setSubCaption(String subCaption) {
		this.subCaption = subCaption;
	}

	public String getPalette() {
		return palette;
	}

	public void setPalette(String palette) {
		this.palette = palette;
	}

	public String getxAxisName() {
		return xAxisName;
	}

	public void setxAxisName(String xAxisName) {
		this.xAxisName = xAxisName;
	}

	public String getyAxisName() {
		return yAxisName;
	}

	public void setyAxisName(String yAxisName) {
		this.yAxisName = yAxisName;
	}

	public String getShowValues() {
		return showValues;
	}

	public void setShowValues(String showValues) {
		this.showValues = showValues;
	}

	public String getUseRoundEdges() {
		return useRoundEdges;
	}

	public void setUseRoundEdges(String useRoundEdges) {
		this.useRoundEdges = useRoundEdges;
	}

	public String getBgColor() {
		return bgColor;
	}

	public void setBgColor(String bgColor) {
		this.bgColor = bgColor;
	}

	public String getNumberPrefix() {
		return numberPrefix;
	}

	public void setNumberPrefix(String numberPrefix) {
		this.numberPrefix = numberPrefix;
	}

	public String getNumberSuffix() {
		return numberSuffix;
	}

	public void setNumberSuffix(String numberSuffix) {
		this.numberSuffix = numberSuffix;
	}

	public String getDecimals() {
		return decimals;
	}

	public void setDecimals(String decimals) {
		this.decimals = decimals;
	}

	public String getFormatNumberScale() {
		return formatNumberScale;
	}

	public void setFormatNumberScale(String formatNumberScale) {
		this.formatNumberScale = formatNumberScale;
	}

	public String getBaseFont() {
		return baseFont;
	}

	public void setBaseFont(String baseFont) {
		this.baseFont = baseFont;
	}

	public String getBaseFontSize() {
		return baseFontSize;
	}

	public void setBaseFontSize(String baseFontSize) {
		this.baseFontSize = baseFontSize;
	}

	public String getBaseFontColor() {
		return baseFontColor;
	}

	public void setBaseFontColor(String baseFontColor) {
		this.baseFontColor = baseFontColor;
	}

	public String getShowBorder() {
		return showBorder;
	}

	public void setShowBorder(String showBorder) {
		this.showBorder = showBorder;
	}

	public Categories getCategories() {
		return categories;
	}

	public void setCategories(Categories categories) {
		this.categories = categories;
	}

	public List<ChartDataset> getDataset() {
		return dataset;
	}

	public void setDataset(List<ChartDataset> dataset) {
		this.dataset = dataset;
	}

	public List<ChartSet> getSet() {
		return set;
	}

	public void setSet(List<ChartSet> set) {
		this.set = set;
	}

	public String getExtProperty() {
		return extProperty;
	}

	public void setExtProperty(String extProperty) {
		this.extProperty = extProperty;
	}

}
